#BIN1    = ../bin/install
BIN2    = ../bin/webprint_keeper

OBJ2    = keeper.o  
SRCS2   = keeper.c 

OBJ1    = install.o 
SRCS1   = install.c 

PKG_FLAGS= `pkg-config --cflags --libs gtk+-3.0 gthread-2.0 glib-2.0 gstreamer-0.10`

LIBPATH = ../bin
LIBS=-L$(LIBPATH) -lglib-2.0

INCLUDE = -I/usr/include/glib-2.0\
		  -I/usr/include/gstreamer-0.10\
		  -I/usr/include/gtk-3.0 \
		  -I../bin


all : $(BIN1) $(BIN2) 
.PHONY : all
 
.c.o:
		$(CC) $(CCFLAGS) -c $< $(PKG_FLAGS) $(INCLUDE) $(LIBS) 

#$(BIN1) : $(OBJ1)
#		$(CC) $(CCFLAGS) -o $(BIN1) $(OBJ1) $(PKG_FLAGS) $(INCLUDE) $(LIBS) 

$(BIN2) : $(OBJ2)
		$(CC) $(CCFLAGS) -o $(BIN2) $(OBJ2) $(PKG_FLAGS) $(INCLUDE) $(LIBS) 



clean :
#	-rm $(BIN1) $(OBJ1)
	-rm -f $(BIN2) $(OBJ2)
